﻿namespace EzDesk.DevHelper.DbMgr.FeedStudio.ToEzML
{
    public class UserInfoProcessor : RegexReplaceProcessor
    {
        public override string[] RegexStrs
        {
            get { return new string[] { @"\@\$(?<name>.*?)\$" }; }
        }

        public override string[] ReplaceStrs
        {
            get { 
                return new string[] 
                    { 
                        "<ez:target><ez:text>{${name}Name}</ez:text></ez:target>"
                    };
            }
        }
    }
}
